//
//  CellOfSearchResultSmall.m
//  FreeTravel
//
//  Created by 徐康 on 16/9/1.
//  Copyright © 2016年 KX. All rights reserved.
//

#import "CellOfSearchResultSmall.h"

@implementation CellOfSearchResultSmall
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        //        self.button = [UIButton buttonWithType:UIButtonTypeSystem];
        //        [self.contentView addSubview:_button];
        self.label = [[UILabel alloc]init];
        [self.contentView addSubview:_label];
        
    }
    return self;
}
- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes {
    //self.button.frame = self.contentView.frame;
    self.label.frame = self.contentView.frame;
}

@end
